<template>
  <div id="head-nav">
    <div class="nav">
      <div class="nav_left" @click="ToIndex_link()">total</div>
      <div class="nav_right">
        <ul class="nav_ul">
          <li>
            <router-link to="/Classify1">nature</router-link>
          </li>
          <li>
            <router-link to="/Classify2">other</router-link>
          </li>
          <li>
            <router-link to="/Classify3">sky</router-link>
          </li>
          <li>
            <router-link to="/Classify4">others</router-link>
          </li>
          <li>
            <router-link to="/Classify5">hhhh</router-link>
          </li>
        </ul>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  name: "HeadNav",
  data() {
    return {};
  },
  methods: {
    ToIndex_link() {
      this.$router.push("/");
    }
  }
};
</script>

<style scoped>

</style>
